package com.gary.demo.biz.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gary.demo.biz.UserBO;
import com.gary.demo.common.model.LoginHolder;
import com.gary.demo.dao.UserMapper;
import com.gary.demo.entity.User;
import com.gary.demo.model.param.UserOperateParam;
import com.gary.demo.model.param.UserQueryParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserBOImpl implements UserBO {

    @Autowired
    private UserMapper userMapper;

    @Autowired
    private LoginHolder loginHolder;


    @Override
    public Integer add(UserOperateParam param) {
        return null;
    }

    @Override
    public void update(UserOperateParam param) {

    }

    @Override
    public User getById(Integer id) {
        return null;
    }

    @Override
    public IPage<User> pageQuery(UserQueryParam param) {
        return null;
    }
}
